<div class="col-sm-12 col-md-12">

     <!-- 订阅订阅日志信息查询 -->
	<div class="row">
		<div class="col-sm-12 col-md-12">
			<form class="form-custom clearfix">
				<div class="row">
					<div class="col-sm-2 col-md-2">
						<label>报表名称</label> 
				            <select name="reportName"  select2 data-live-search="true" ng-model="params.reportName" required ng-options="c.repName as c.repName for c in themeNameList" class="form-control">
				                 <option value="">-----请选择报表名称------</option>
				            </select>
					</div>
					<div class="col-sm-2 col-md-2">
						<label>订阅名称</label> 
						<input ng-model="params.subsName" class="form-control" type="text" />
					</div>
					<div class="col-sm-3 col-md-3">
						<label>推送日期</label>
						<div data-datetimepicker range start="params.startTime" end="params.endTime"></div>
					</div>
					<div class="col-sm-2 col-md-2">
						<label>推送状态</label> 
						<select class="form-control" ng-model="params.pushStats">
							<option value="">请选择</option>
							<option value="0">失败</option>
							<option value="1">成功</option>
						</select>
					</div>
					<div class="col-sm-2 col-md-2">
						<label>订阅类型</label> 
						<select class="form-control" ng-model="params.subsType">
							<option value="">请选择</option>
							<option value="1">邮件</option>
							<option value="2">短信</option>
						</select>
					</div>
				</div>
				<div class="row text-center">
					<button class="btn btn-info btn-custom" type="button" ng-click="refresh('first',true)">查询</button>
					<button class="btn btn-primary btn-custom" type="reset" ng-click="reset(params)">重置</button>
				</div>
			</form>
		</div>

	</div>

    <table class="table table-striped table-bordered table-condensed index-center table-costom">
        <thead>
        <tr>
            <th>序号</th>
            <th>报表名称</th>
            <th>订阅名称</th>
            <th>订阅类型</th>
            <th>推送状态</th>
            <th>用户列表</th>
            <th>推送日期</th>
        </tr>
        </thead>
        <tbody>
        <tr class="rowlink" ng-repeat="item in limitArr">
            <td>{{$index+1+current*limit}}</td>
            <td align="center">{{item.reportName}}</td>
            <td align="center">{{item.subsName}}</td>
            <td align="center">{{item.subsType | RSM_subscribeMethod}}</td>
            <td align="center">{{item.pushStats | RSL_pushStats}}</td>
            <td align="center">{{item.userName}}</td>
            <td align="center">{{item.pushDate | date:'yyyy-MM-dd HH:mm:ss'}}</td>
        </tr>
        </tbody>
    </table>

     <!-- 订阅信息分页数据 -->
	<div data-remote-paging="pager" 
	     data-refresh="refresh"
		 data-current="current" 
		 data-total="total" 
		 data-data="limitArr"
		 data-limit="limit" 
		 data-params="params">
    </div>
</div>
